package cn.wolfcode.wolf2w.repository;


import cn.wolfcode.wolf2w.domain.Destination;
import cn.wolfcode.wolf2w.domain.Region;
import cn.wolfcode.wolf2w.domain.UserInfo;
import org.springframework.data.mongodb.repository.MongoRepository;
import org.springframework.stereotype.Repository;

import java.util.List;
@Repository
public interface RegionRepository extends MongoRepository<Region,String> {


    List<Region> findByIshotOrderBySequence(int stateHot);

    Destination findByName(String keyword);
}
